import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/pages/index'
import Login from '@/components/pages/login'
import Register from '@/components/pages/register'
import Myheader from '@/components/pages/my-header'
import Mystu from '@/components/pages/my-stu'
import Stumessage from '@/components/pages/stumessage'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/Login',
      name: 'Login',
      component: Login
    },
    {
      path: '/Register',
      name: 'Register',
      component: Register
    },
    {
      path: '/Index',
      name: 'Index',
      component: Index
    },
    {
      path: '/Myheader',
      name: 'Myheader',
      component: Myheader
    },
    {
      path: '/Mystu',
      name: 'Mystu',
      component: Mystu
    },
    {
      path:'/Stumessage',
      name:'Stumessage',
      component:Stumessage
    }
  ]
})
